Skip to content

Add type indicator to array/arg unpack #15448

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Sep 1, 2024

Conversation

jorgsowa
Copy link
Contributor

Adds type indicator in the argument/array unpacking. Works similarly to other type errors where we get information about the actual type given.

@iluuu1994 iluuu1994 requested review from kocsismate and removed request for iluuu1994 and dstogov August 18, 2024 15:19
@iluuu1994
Copy link
Member

The error is not really consistent with other error messages. Can this be made more consistent?

@jorgsowa
Copy link
Contributor Author

Thanks for the suggestion. Makes sense, I aligned the error message with other ValueErrors.

@iluuu1994 iluuu1994 merged commit 2a30f2f into php:master Sep 1, 2024
9 of 10 checks passed
@iluuu1994
Copy link
Member

Thank you @jorgsowa!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants